set -e

rm -rf ./build
rm -rf ./src/iconfont

./node_modules/.bin/np --no-cleanup --yolo --no-publish
./node_modules/.bin/tsc

mv ./build/src/* ./build
rm -r ./build/src
cp README.md package.json LICENSE ./build
cp -rf src/templates ./build/templates
